All Questions
Tagged with socketexceptionjava
239 questions
0votes
0answers
36views
Java okhttp3 Exceptions
My Spring Boot uses okhttp3 to send HTTP requests as a client. I have no control over the servers. (But I can ask server team to change the settings if needs be.) <dependency> <groupId>...
0votes
0answers
47views
DataInputStream not recognising input
I made a file transfer app in Java 11. I am using thread pool for handling maximum of 50 Threads and ServerHandler class that will server each user in its own thread once he is logged in. Here is the ...
0votes
0answers
120views
Glide not loading images from IP url Connection reset Socket exception
Help with glide, I have a VDS server that does not have a domain, but I receive JSON data from the API from it, but I don’t understand when I want to load an image on the screen using Glide, it gives ...
0votes
0answers
70views
Unable to read the HttpURLConnection.responseCode when HttpURLConnection.setChunkedStreamingMode is enabled
I want to upload a file to a web server. To avoid getting an OutOfMemory error on large files, I added the connection.setChunkedStreamingMode(2048); method. This works fine when the server responds ...
0votes
0answers
523views
Java SocketException after trying to send and receive data on the same socket connection
I am working on a project in Java and I am trying to send an object from the client to the server and then waiting for a String response, but I get SocketException with the message "Socket is ...
1vote
1answer
11kviews
How to fix: java.net.SocketException: An established connection was aborted by the software in your host machine
Minimal Reproducible Example Server.java import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.net.Socket; import java.net.ServerSocket; public ...
1vote
0answers
632views
MinIO Spring Boot. java.net.SocketException: Software caused connection abort: socket write error
Cant upload images sometimes on MinIO bucket. Sometimes it works correctly, sometimes its throwing this exception. file is MultipartFile try (InputStream inputStream = file.getInputStream()) { ...
1vote
0answers
41views
SocketException Error on launching ProM Lite 1.3
After starting the proM application by running the ProMLite13.sh file I am getting the following error - Started package manager session Downloading: ApacheUtils-6.9.122 I/O Exception: java.net....
0votes
1answer
528views
org.testng.TestNGException: java.net.SocketException: Unexpected end of file from server error using Selenium with TestNG and Maven
Background: I am currently using Maven to download Selenium chrome driver from the remote repo in order to perform TestNG automations. When I am on corporate network, I receive the following error, ...
-1votes
1answer
859views
What is causing connection reset in my tcp server?
This error can happen at anytime but the error message is not showing where it happens during runtime, Error message TCPServerhandler with the closing part TCPServerHandler TCPserverRun code TCPServer
6votes
1answer
11kviews
SSLException, SocketException : Connection reset from Apache HttpClient
We are using Apache HttpClient library to call HTTP REST endpoints in the Spring application. We are getting "Connection reset" error frequently now a days, We did not have any issue earlier ...
3votes
2answers
25kviews
javax.net.ssl.SSLException: Connection reset on few request out of the total
We have a service that is sending POST request once every second to one of our mircoservices. The sent request is to the same URL each time it is sent. The code class TrackTask that sends request is ...
0votes
1answer
118views
An error for excel download in firefox for JMeter script recording
I am recording one script using JMeter. On webpage there are two options two download data. One is excel and one is csv. The csv format data is downloading successfully but when clicking on excel icon ...
0votes
1answer
2kviews
Why socket closing itself after sending data once?
I have a client-server app. It opens a socket on client side, then I input data to send, it's also sent to other clients, but then the socket is closed. Why? I have tried many different approaches, ...
6votes
2answers
26kviews
SSLSocket duplex close failed
I am getting following exception: javax.net.ssl|DEBUG|79|Keep-Alive-Timer|2021-03-29 23:34:12.355 PDT|SSLSocketImpl.java:479|duplex close of SSLSocket<br> javax.net.ssl|DEBUG|79|Keep-Alive-...